/*
	Header file that contains all the function prototypes for the 
	 LCD control functions used
*/
#ifndef INCLUSION_GUARD_LCD_CONTROLS_H
#define INCLUSION_GUARD_LCD_CONTROLS_H

#define LCDRS						LATDbits.LATD8
#define LCDENABLE					LATDbits.LATD3
#define LCD_DATA                                        LATB

#define LINE1						0x80
#define LINE2						0xC0

//unsigned char current_addr;

void LCDenable(void);
void LCDwrite(char output[]);
//void LCDwrite(char* output);
void LCDaddress(unsigned char addr);
void LCDclear(void);
void LCDhome(void);
void backspace(unsigned char addr);
void LCDchar(char character, char auto_increment);
void LCDchar_addr(char character, char address);

#endif
